enum Direction {
	FLOOR('x', 0, 0, -1), CEILING('X', 0, 0, 1), NORTH('&uarr;', 0, -1, 0), SOUTH('&darr;', 0, 1, 0), WEST('&larr;', -1, 0, 0), EAST('&rarr;', 1, 0, 0)
	
	String arrow
	
	int x
	int y
	int z
	
	Direction(String arrow, int x, int y, int z) {
		this.arrow = arrow
		this.x = x
		this.y = y
		this.z = z
	}
	
	Direction opposite() {
		switch(this) {
			case FLOOR: return CEILING
			case CEILING: return FLOOR
			case NORTH: return SOUTH
			case SOUTH: return NORTH
			case WEST: return EAST
			case EAST: return WEST
		}
	}
}